.style-msoffice .ui-ribbon {
	border: 0 none;
	padding: 0;
	font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;
	background-color: #BFDBFF;
	border-top: 1px solid #DBE8F9;
}
.style-msoffice .ui-ribbon .ui-tabs {
	background-color: #BFDBFF;
	padding: 2px;
	padding-top: 0;
}
.style-msoffice .ui-ribbon.ui-ribbon-minimized {
	border-bottom: 1px solid #D5E2F3;
}
.style-msoffice .ui-ribbon.ui-ribbon-minimized .ui-ribbon-minimized-border {
	border-bottom: 1px solid #9BBBE3;
}


/* (CONTEXTUAL) TABSETS */
.style-msoffice .ui-ribbon .ui-ribbon-tabset-contextual {
	top: -26px;
	border: 0 none !important;
	height: 25px;
	background: transparent url("./ui.ribbon.style.msoffice/tabset-contextual-yellow.png") no-repeat left top;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabset-contextual span {
    font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;
	border: 0 none !important;
	color: #3E6AAA;
	background: transparent url("./ui.ribbon.style.msoffice/tabset-contextual-yellow.png") no-repeat 100% -50px;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabset-contextual i.left, 
.style-msoffice .ui-ribbon .ui-ribbon-tabset-contextual i.right {
	width: 1px;
	height: 50px;
	background: transparent url("./ui.ribbon.style.msoffice/tabset-sideborder.png") no-repeat left bottom;
	#background-image: url("./ui.ribbon.style.msoffice/tabset-sideborder.gif");
}
.style-msoffice .ui-ribbon .ui-ribbon-tabset-contextual i.right {
	background-position: 100% bottom;
}
.style-msoffice .ui-ribbon.ui-ribbon-tabsets-collapsed .ui-ribbon-tabset-contextual {
	top: 0px;
	height: 8px;
	background-position: left -20px;
	opacity: 1.0;
}
.style-msoffice .ui-ribbon.ui-ribbon-tabsets-collapsed .ui-ribbon-tabset-contextual span {
	height: 0px;
	padding: 8px 0 0 0;
	background-position: 100% -80px;
	opacity: 1.0;
}
.style-msoffice .ui-ribbon.ui-ribbon-tabsets-collapsed .ui-ribbon-tabset-contextual i.left, 
.style-msoffice .ui-ribbon.ui-ribbon-tabsets-collapsed .ui-ribbon-tabset-contextual i.right {
	height: 25px;
}


/* TABS */
.style-msoffice .ui-ribbon .ui-ribbon-tabs {
	margin-left: 42px; /* for ui-orbButton */
	padding-top: 0; /* for ui-orbButton-appHeader */
}
/*   sliding doors: */
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a { 
	position: relative;
	border: 0 none; 
	padding: 0;
	cursor: pointer;
	overflow: visible; /* removes extra side padding in IE */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a::-moz-focus-inner {
	border: none;  /* overrides extra padding in Firefox */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a span { 
	position: relative;
	display: block; 
	white-space: nowrap;
}

.style-msoffice .ui-ribbon .ui-ribbon-tabs li, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a {
	padding: 0;
	border-width: 0;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-focus,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled {
	background-image: none;
	margin-right: 0;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-focus,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-hover a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-focus a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled a {
	background-color: #BFDBFF !important;
    font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: normal !important;
	color: #3E6AAA;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a {
	padding: 0px;
	padding-right: 25px;
	height: 24px;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a span {
	padding: 7px 0px 0px 25px;
	height: 17px;
	overflow: hidden;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a span {
	background: url("./ui.ribbon.style.msoffice/tab.gif") no-repeat left top;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-tabs-selected {
	padding-bottom: 0px;
	margin-top: 2px;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-tabs-selected a {
	height: 23px;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-tabs-selected a span {
	padding-top: 5px;
	height: 18px;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a:active {
    background-position: 100% -100px; /* selected tab right-end */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active.ui-state-hover a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active.ui-state-focus a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a:focus {
	background-position: 100% -150px; /* selected tab right-end hover */
	outline: none;
	border: none;
	-moz-outline: none;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a span,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a:active span {
    background-position: 0 0; /* selected tab left-end */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active.ui-state-hover a span,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active.ui-state-focus a span,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active:hover a span,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-active a:focus span {
    background-position: 0 -50px; /* selected tab left-end hover */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-hover a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-focus a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-active a {
    background-position: 100% -125px; /* tab right-end */
	outline: none;
	border: none;
	-moz-outline: none;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-hover a,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-focus a {
    background-position: 100% -175px; /* tab right-end hover */
	outline: none;
	border: none;
	-moz-outline: none;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li a span, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-hover a span, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-focus a span
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-disabled.ui-state-active a span {
	background-position: 0 -25px; /* tab left-end */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-hover a span,
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-focus a span {
    background-position: 0 -75px; /* tab left-end hover */
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-state-processing span label {
    padding: 0 0 0 20px;
    background: url("./common/progress_ajax_loader_arrows_black.gif") no-repeat 0 50%;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-ribbon-tab-contextual {
	opacity: 1.0;
}
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-ribbon-tab-contextual a, 
.style-msoffice .ui-ribbon .ui-ribbon-tabs li.ui-ribbon-tab-contextual a span {
    background-image: url("./ui.ribbon.style.msoffice/tab-contextual-yellow.png");
}


/* PANELS */
.style-msoffice .ui-ribbon .ui-ribbon-panel {
	padding: 1px;
	background: #DFECF7 url("./ui.ribbon.style.msoffice/panel-bkg.gif") repeat-x left top;
	border: 1px solid #8DB2E3;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual {
	opacity: 1.0;
	background: #FEF9D0 url("./ui.ribbon.style.msoffice/panel-contextual-yellow-bkg.gif") repeat-x left top;
	border: 1px solid #C2C2C2;
}


/* GROUPS */
.style-msoffice .ui-ribbon .ui-ribbon-panel .ui-ribbon-groups {
    min-height: 90px;
    #height: 90px;
}
.style-msoffice .ui-ribbon .ui-ribbon-group {
	height: 83px;
	color: #3E6AAA !important;
    border: 1px solid #A3BED5 !important;
	background: #D9E5F3 url("./ui.ribbon.style.msoffice/group-bkg.gif") repeat-x left top;
}
.style-msoffice .ui-ribbon .ui-ribbon-group:hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group.ui-state-hover {
	background: #DBE9FA url("./ui.ribbon.style.msoffice/group-hover-bkg.gif") repeat-x left top;
	border-color: #ABC6DD;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group {
	background: #F7F7F4 url("./ui.ribbon.style.msoffice/group-contextual-yellow-bkg.gif") repeat-x left top;
	border: 1px solid #C2C2C2;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group:hover,
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group.ui-state-hover {
	background: #EFF2F6 url("./ui.ribbon.style.msoffice/group-contextual-yellow-hover-bkg.gif") repeat-x left top;
}


/*      group content */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-content {
	padding: 0px 2px 0px 2px;
	height: 67px;
	border: 1px solid #EDF2F8;
	border-bottom: 0;
	
	font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;
	font-size: 13px !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group:hover .ui-ribbon-group-content,
.style-msoffice .ui-ribbon .ui-ribbon-group.ui-state-hover .ui-ribbon-group-content {
	padding: 0px 2px 0px 2px;
	height: 67px;
	border: 1px solid #FFFFFF;
	border-bottom: 0;
}

/*      group label */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label {
	height: 14px;
	border: 1px solid #C0D8EF;
	border-top: 0;
	border-bottom: 0;
	
	background: transparent none;
}
.style-msoffice .ui-ribbon .ui-ribbon-group:hover .ui-ribbon-group-label,
.style-msoffice .ui-ribbon .ui-ribbon-group.ui-state-hover .ui-ribbon-group-label {
	height: 14px;
	padding: 0px 1px 2px 1px;
	
	border: 1px solid #FFFFFF;
	border-top: 0;
	border-bottom: 0;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label span {
	display: block;
	height: 14px;
	padding: 0px 3px 1px 3px;
	
	font-size: 11px;
	font-weight: normal;
	line-height: 14px;
	
	overflow: hidden;

    font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;	
	color: #3E6AAA;
	background: transparent none;
}
.style-msoffice .ui-ribbon .ui-ribbon-group:hover .ui-ribbon-group-label span,
.style-msoffice .ui-ribbon .ui-ribbon-group.ui-state-hover .ui-ribbon-group-label span {
	height: 14px;
	padding: 0px 2px 0px 2px;
	
	background: transparent none;
}
.style-msoffice .ui-ribbon .ui-ribbon-group  .ui-ribbon-group-label span {
	position: relative;
}

.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group .ui-ribbon-group-label {
	color: #3E6AAA;
	background: transparent none;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group .ui-ribbon-group-label span {
	background: transparent none;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel-contextual .ui-ribbon-group:hover .ui-ribbon-group-label {
	background: transparent none;
}


/*   TODO:   group dialog button */
.style-msoffice .ui-ribbon .ui-ribbon-group  .ui-ribbon-group-label .ui-ribbon-group-dialog-button {
	width: 15px;
	padding: 0px;
	
	background: url("./ui.ribbon.style.msoffice/group-dialog-button.gif") no-repeat;
}
.style-msoffice .ui-ribbon .ui-ribbon-panel .ui-ribbon-group:hover .ui-ribbon-group-label .ui-ribbon-group-dialog-button {
	right: 0px;
}
.style-msoffice .ui-ribbon .ui-ribbon-group  .ui-ribbon-group-label .ui-ribbon-group-dialog-button span {
    width: 15px; /* IE 6 treats width as min-width */
    min-width: 15px;
    height: 14px; /* IE 6 treats height as min-height */
    min-height: 14px;
	padding: 0px;
	
	overflow: hidden;
}
.style-msoffice .ui-ribbon .ui-ribbon-group  .ui-ribbon-group-label .ui-ribbon-group-dialog-button span label {
	height: 14px; /* IE 6 treats height as min-height */
    min-height: 14px;
	padding: 0px;
}
.opera .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button span label {
	font-size: 11px;
}
*> .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button span {
	height: 14px;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button span {
	text-align: center;
	white-space: normal;
	
	background-color: transparent !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:hover, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:focus, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-focus,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:active, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-active {
	background-position: 0px 0px; /* right end idle */
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:hover, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:focus, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-focus {
	background-position: 0px -14px; /* right-end hover */
}
/*.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:active, */ .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-active {
	background-position: 0px -28px; /* right-end down */
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button span, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:hover span, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-hover span, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:focus span, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-focus span, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled:active span, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-disabled.ui-state-active span {
	background-position: 0 0px; /* left-end */
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:hover span, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-hover span,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:focus span, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-focus span {
    background-position: 0 -14px; /* left-end hover */
}
/*.ui-ribbon-group  .ui-ribbon-large-button:active span, */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-active span {
	background-position: 0 -28px; /* left-end down */
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button span label,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:hover span label, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-hover span label,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:focus span label, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-focus span label,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button:active span label, .style-msoffice .ui-ribbon .ui-ribbon-group .ui-ribbon-group-label .ui-ribbon-group-dialog-button.ui-state-active span label {
	background-position: center top;
}


/* CONTROLS */
.ui-ribbon .ui-ribbon-group .ui-ribbon-list li {
	height: 22px;
    line-height: 22px;
}

/* BUTTONS */

/* SIMPLE button */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:hover .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-hover .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-active,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-active .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-down,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-down .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-focus
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-focus .ui-button-door-left {
	color: #3E6AAA !important;
	background-color: transparent !important;
	background-image: url("./ui.ribbon.style.msoffice/msoffice-ui-ribbon-simple-button.gif") !important;
	background-repeat: no-repeat !important;
    line-height: 16px !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button .ui-button-icon {
	padding-top: 2px;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button .ui-button-label {
	line-height: 20px !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button { 
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0;
	text-align: center; 
	background-position: right -66px;
	height: 22px;
    font-family: "MS Sans Serif", Tahoma, Arial, sans-serif !important;
	font-weight: normal !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button .ui-button-door-left {
	border: 0 none;
	padding: 2px 1px 0 5px; 
	text-align: left;
	background-position: left top; 
	height: 20px;
}
/*     hover state */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-focus { /* the redundant class is used to apply the hover state with a script */
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0; 
	background-position: right -88px;
}	
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:hover .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-hover .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-focus .ui-button-door-left {
	border: 0 none;
	padding: 2px 1px 0 5px; 
	background-position: left -22px;
}
/*     pressed state */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:active, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-active, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-down { /* the redundant class is used to apply the active state with a script */
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0; 
	background-position: right -110px;
}	
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button:active .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-active .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-state-down .ui-button-door-left {
	border: 0 none;
	padding: 2px 1px 0 5px; 
	background-position: left -44px;
	color: #FFFFFF !important;
}


/* LARGE button */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:hover .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-hover .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-active,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-active .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-down,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-down .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-focus,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-focus .ui-button-door-left {
	color: #3E6AAA !important;
	background-color: transparent !important;
	background-image: url("./ui.ribbon.style.msoffice/msoffice-ui-ribbon-large-button.png") !important;
	background-repeat: no-repeat !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button .ui-button-icon {
	padding-top: 2px;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button .ui-button-label {
	line-height: 16px !important;
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button { 
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0;
	text-align: center; 
	background-position: right -198px;
	height: 66px; 
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button .ui-button-door-left {
	border: 0 none;
	padding: 0 2px 0 4px;
	text-align: center;
	background-position: left top; 
	height: 66px; 
}
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button .ui-button-label {
    white-space: normal;
    max-width: 70px;
}
/*     hover state */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:hover, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-hover,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-focus { /* the redundant class is used to apply the hover state with a script */
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0; 
	background-position: right -264px;
}	
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:hover .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-hover .ui-button-door-left,
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-focus .ui-button-door-left {
	border: 0 none;
	padding: 0 2px 0 4px;
	background-position: left -66px;
}
/*     pressed state */
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:active, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-active, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-down { /* the redundant class is used to apply the active state with a script */
	border: 0 none;
	margin-right: 2px;
	padding: 0 2px 0 0; 
	background-position: right -330px;
}	
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button:active .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-active .ui-button-door-left, 
.style-msoffice .ui-ribbon .ui-ribbon-group .ui-button.ui-ribbon-large-button.ui-state-down .ui-button-door-left {
	border: 0 none;
	padding: 0 2px 0 4px;
	background-position: left -132px;
	color: #FFFFFF !important;;
}